#
# Alpine linux docker image
#
# A minimal base image based on Alpine Linux with useful packages and tools.
#
# http://github.com/tenstartups/alpine-docker
#

FROM frolvlad/alpine-oraclejdk8

MAINTAINER Marc Lennox <marc.lennox@gmail.com>

# Set environment variables.
ENV TERM=xterm-color
  
ENV TIME_ZONE Asia/Shanghai  

# Install packages.
RUN \
  apk --update add bash coreutils curl figlet nano procps tar wget tree tzdata git && \
  echo "${TIME_ZONE}" > /etc/timezone && \
  ln -sf /usr/share/zoneinfo/${TIME_ZONE} /etc/localtime && \
  rm -rf /var/cache/apk/* 

# Set the default command.
CMD ["/bin/bash"]
	